package com.example.first;

import android.app.Application;

import com.alipay.sdk.app.EnvUtils;

//起到一个全局初始化作用,初始化支付宝sdk
public class MyApplication extends Application {

    public void onCreate() {
        super.onCreate();

        EnvUtils.setEnv(EnvUtils.EnvEnum.SANDBOX);
    }
}
